package com.ly.mpayment.persist.service.ele;

import java.util.List;
import java.util.Map;

import com.ly.mpayment.persist.entity.ele.EleRecord;
import com.ly.mpayment.persist.hibernate.Page;


public interface IEleRecordService {
	
	public Page<EleRecord> findPageRecord(Map<String, Object> parameters,int start,int pageSize);
	
	public EleRecord findById(String id);
	
	public boolean saveEleRecord(EleRecord record);
	
	public boolean updateEleRecord(EleRecord record);
	
	/**
	 * 查询当天有没有重复充值的电话
	 * @param phoneNum
	 * @return
	 */
	public EleRecord findPhoneDay(String phoneNum);
	
	
	public List<EleRecord> findAllNotCharge(int pageSize);
	
	public List<EleRecord> findAllCharge(int pageSize);
	
	
	public EleRecord findByIdAccount(String id);

	public List<EleRecord> queryStatus();
	
	
}
